package com.glela.goods.service;

import com.glela.goods.model.NewsType;
import com.glela.goods.model.vo.NewsVo;
import com.glela.goods.model.vo.TopNewsVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface NewsService {

    List<TopNewsVo> getTopNews(HttpServletRequest request);

    List<NewsVo> getByTypeId(int typeId,int startIndex,int num);

    int getCountByTypeId(int typeId);

    List<NewsType> getNewComerCrashType();
}
